Coyote\Controllers\SettingsController A

Total Complexity 64
Dependencies 9
Dependents 2
Total lines 843
Lines of code 476
Logical lines of code 146
Comment lines 197
Methods 29
Properties 11

Methods 29

Method Rating Maintainability Complexity Lines of code
init()
B
30 11 169
getProfile()
S
53 6 24
menu()
S
51 4 33
enqueueScripts()
S
55 3 19
settingsPluginProcessedPostTypesCallback()
S
57 3 16
ajaxVerifyResourceGroup()
S
59 3 15
toolsSettingsSubpageCallback()
S
60 3 13
verifySettings()
S
61 3 13
__construct()
S
51 2 25
pluginSettingSectionCallback()
S
57 2 18
sanitizeEndpoint()
S
67 3 8
advancedSettingsSubpageCallback()
S
64 2 10
sanitizeOrganizationID()
S
78 2 3
changeOrganizationID()
S
63 2 10
apiOrganizationIdCallback()
S
60 1 13
getRegisteredPostTypes()
S
68 1 8
apiMetumCallback()
S
66 1 8
settingsSkipUnpublishedEnabledCallback()
S
68 1 7
settingsAreUpdatesEnabledCallback()
S
68 1 7
settingsAreFiltersEnabledCallback()
S
68 1 7
settingsIsStandaloneCallback()
S
68 1 7
apiEndpointCallback()
S
66 1 8
apiTokenCallback()
S
66 1 8
changeStandaloneMode()
S
76 1 4
sanitizeMetum()
S
80 1 3
sanitizeToken()
S
80 1 3
setOrganizationID()
S
74 1 4
sanitizeBool()
S
80 1 3
settingsPageCallback()
S
64 1 10